package com.iflytek.jcy.supervise.clue.dto;

import java.io.Serializable;

import lombok.Data;

@Data
public class QueryPointDTO implements Serializable {

	private Integer	pointId;
	private String	pointName;
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		QueryPointDTO other = (QueryPointDTO) obj;
		if (pointId == null) {
			if (other.pointId != null)
				return false;
		}
		else if (!pointId.equals(other.pointId))
			return false;
		/*if (pointName == null) {
			if (other.pointName != null)
				return false;
		}
		else if (!pointName.equals(other.pointName))
			return false;*/
		return true;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((pointId == null) ? 0 : pointId.hashCode());
		//result = prime * result + ((pointName == null) ? 0 : pointName.hashCode());
		return result;
	}
	

}
